send Felica Command
abstract fun sendFelicaCommand(command: Array<Byte>, bufferSize: Int, closeAfterResponse: Boolean, timeout: Long): NfcCommandResponse
Sends a FeliCa command to the card. Note that the reader must be opened before using this command and should be closed after.
Return
The response of the FeliCa command.
Parameters
command
The FeliCa command to be sent to the card.
buffer Size
Expected bufferSize of the response, use 255 per default
close After Response
A flag indicating whether to close the card reader after receiving the response.
timeout
The maximum time to wait for a response, in milliseconds.